﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DocuServe.Core.Entities
{
    public abstract class BaseEntity
    {
        protected BaseEntity()
        {
            DateTime now = DateTime.Now;
            this.DateCreated = now;
            this.DateModified = now;
        }

        public virtual DateTime DateCreated { get; set; }
        public virtual DateTime DateModified { get; set; }
        public virtual int ID { get; private set; }
    }
}
